#include <iostream>
using namespace std;
class Person
{
public:
	Person()
	{
		cout<<"Person()"<<endl;
	}
	~Person()
	{
		cout<<"~Person()"<<endl;
	}
};
Person doWork()
{
	Person p;
	return p;
}
int main(int argc, char const *argv[])
{
	// 应该是打印两次构造和析构
	// Person p = doWork();
	Person p1;
	Person p2(p1);
	return 0;
}
